package com.eight.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient("rentcar-customer")
public interface UserFeign {
    @PostMapping("customer/tbUserCoupon/deleteUserCon/{username}/{couponId}")
    int deleteUserCon(@PathVariable String username, @PathVariable Integer couponId);

    @PostMapping("/customer/tbClient/deleteMoney/{username}/{money}")
    int deleteMoney(@PathVariable String username, @PathVariable Double money);
}
